CVE-2025-68238
mtd: rawnand: cadence: fix DMA device NULL pointer dereference
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix DMA device NULL pointer dereference The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized. Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use.
INFO
Published Date :
Dec. 16, 2025, 2:15 p.m.
Last Modified :
Dec. 16, 2025, 2:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Ensure DMA device pointer is initialized before dereferencing.
- Move DMA device assignment after successful DMA channel acquisition.
- Apply the provided kernel patch for the fix.
- Update the Linux kernel to the fixed version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-68238.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-68238 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-68238
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-68238 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-68238 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 16, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix DMA device NULL pointer dereference The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized. Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use. Added Reference https://git.kernel.org/stable/c/0c2a43cb43786011b48eeab6093db14888258c6b Added Reference https://git.kernel.org/stable/c/0c635241a62f2f5da1b48bfffae226d1f86a76ef Added Reference https://git.kernel.org/stable/c/2178b0255eae108bb10e5e99658b28641bc06f43 Added Reference https://git.kernel.org/stable/c/5c56bf214af85ca042bf97f8584aab2151035840 Added Reference https://git.kernel.org/stable/c/9c58c64ec41290c12490ca7e1df45013fbbb41fd Added Reference https://git.kernel.org/stable/c/b146e0b085d9d6bfe838e0a15481cba7d093c67f Added Reference https://git.kernel.org/stable/c/e282a4fdf3c6ee842a720010a8b5f7d77bedd126